﻿using Basic.FormRemoteModel.TableRecord;
using Basic.UserFormService.Interface;
using WeDonekRpc.Client.Interface;

namespace Basic.UserFormService.RpcEvent
{
    internal class FormTableAddRowEvent : IRpcApiService
    {
        private readonly IFormTableAddRowService _Service;

        public FormTableAddRowEvent ( IFormTableAddRowService service )
        {
            this._Service = service;
        }
        public bool AddTableRow ( AddTableRow obj )
        {
            return this._Service.AddRow(obj.Row);
        }
    }
}
